package com.anolesoft.yr.mbus.pre.mapper;

import com.anolesoft.yr.mbus.pre.dto.PreOrderMarkSaveDTO;
import com.anolesoft.yr.mbus.pre.sql.PreOrderMarkSQL;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PreOrderMarkMapper {

    //新增报价单坐标
    @Insert(PreOrderMarkSQL.SAVE_PRE_ORDER_MARK)
    int savePreOrderMarkSaveDTO(PreOrderMarkSaveDTO preOrderMarkSaveDTO);

    //删除报价单坐标
    @Update(PreOrderMarkSQL.DELETE_PRE_ORDER_MARK)
    int deletePreOrderMarkSaveDTO(String preOrderUid);

}
